home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 6⁄15⁄90 / 1424-View Resource Questi-Jun90 < prev    next >
Encoding:
Text File  |  1990-06-15  |  1.3 KB  |  43 lines  |  [TEXT/GEOL]

  1. Item    0960544                         10-June-90        13:18PDT
  2.  
  3. From:   PEMD                            CH DEV PEMD Group, Zurich,IDV
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    View Resource Question
  8.  
  9. Hi Everyone,
  10.  
  11. I followed the advice on establishing the 'view' resource and the casting
  12. problem was nicely handled.  I still have a questionable behavior.  The
  13. TDiscWindow established from the 'view' resource below is not listed in the
  14. Inspector as a subclass of TWindow, although TGrView below is shown as a
  15. subclass of Tview.
  16.  
  17. What has still not been done correctly?
  18.  
  19. Thanks,
  20. Ernie
  21.  
  22. ****************************************************************************
  23. resource 'view' (kDiscWindowType, purgeable) { {
  24.    root, 'WIND', { 50, 15 }, { 200, 435 }, sizeVariable, sizeVariable, shown,
  25. enabled,
  26.    Window {
  27.    "TDiscWindow",
  28.    zoomDocProc, goAwayBox, resizable, modeless, ignoreFirstClick,
  29. freeOnClosing,
  30.    disposeOnFree, DoesntcloseDocument, openWithDocument, dontAdaptToScreen,
  31. stagger,
  32.    forceOnScreen, dontCenter, 'GRPH', "<<<>>>" };
  33.  
  34.    'WIND', IncludeViews { kDiscViewType};
  35. } };
  36.  
  37. resource 'view' (kDiscViewType, purgeable) { {
  38.    root, 'GRPH', { 0, 0 }, { 200, 435 }, sizeSuperView, sizeSuperView, shown,
  39. enabled,
  40.    view { "TGrView" };
  41. } };
  42.  
  43.